aboutsummaryrefslogtreecommitdiffstats
path: root/pages/editor/item/[id].vue
blob: 451a76d4c59cec1789681132cf45da82a986f06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script setup lang="ts">
import { useSessionStore } from '@/stores/session';

definePageMeta({
  layout: 'editor'
})

const sessionStore = useSessionStore();
const route = useRoute();

const itemId = route.params.id as string;

const item = sessionStore.getItemById(itemId);
</script>

<template>
  <PageHeader>
    <span id="path">
      <font-awesome-icon class="icon" :icon="['fas', 'cube']" />
      <span class="title">{{ itemId }} </span>
    </span>
    <span id="controls" class="control-group">
      <Button type="solid" :disabled="true" :icon="['fas', 'fa-save']" :label="'Save'"></Button>
    </span>
  </PageHeader>

  <div id="options-container">
  </div>
</template>

<style scoped>
#options-container {
  width: 100%;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  overflow: auto;
  max-height: calc(100% - 55px);
}

header {
  border-bottom: 1px solid var(--color-border);
}
</style>